package com.yqg.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * booth_licence 实体类
 *
 * @author zxf
 * @since 2024-06-14
 */
@Getter
@Setter
@TableName("booth_licence")
@ApiModel(value = "BoothLicence对象", description = "")
public class BoothLicence implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("摊位编号")
    private String boothId;

    @ApiModelProperty("经营户姓名")
    private String boothName;

    @ApiModelProperty("占道面积")
    private String occupiedArea;

    @ApiModelProperty("经营地点")
    private String boothAddress;

    @ApiModelProperty("经营种类")
    private String boothType;

    @ApiModelProperty("文件路径")
    private String fileUrl;

    @ApiModelProperty("夏秋上午开始时间")
    private Integer sumMornStart;

    @ApiModelProperty("夏秋上午结束时间")
    private Integer sumMornEnd;

    @ApiModelProperty("夏秋下午开始时间")
    private Integer sumAfterStart;

    @ApiModelProperty("夏秋下午结束时间")
    private Integer sumAfterEnd;

    @ApiModelProperty("春冬上午开始时间")
    private Integer sprMornStart;

    @ApiModelProperty("春冬上午结束时间")
    private Integer sprMornEnd;

    @ApiModelProperty("春冬下午开始时间")
    private Integer sprAfterStart;

    @ApiModelProperty("春冬下午结束时间")
    private Integer sprAfterEnd;

    @ApiModelProperty("有效期")
    @TableField(exist = false)
    private String validity;

    @ApiModelProperty("发证日期")
    @TableField(exist = false)
    private String issueTime;

    @ApiModelProperty("创建日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("是否删除（0否1是）")
    private String isDelete;

    @ApiModelProperty("有效期，年")
    private String validityYear;

    @ApiModelProperty("有效期，月")
    private String validityMouth;

    @ApiModelProperty("有效期，日")
    private String validityDay;

    @ApiModelProperty("发证日期，年")
    private String issueTimeYear;

    @ApiModelProperty("发证日期，月")
    private String issueTimeMouth;

    @ApiModelProperty("发证日期，日")
    private String issueTimeDay;

    @ApiModelProperty("pdf路径")
    private String pdf;
}
